<template>
  <div id="loginWin" v-if="showCole">
    <div class="loginbox">
      <div class="loginindex" @click="dengl"> 登&nbsp;&nbsp;&nbsp;&nbsp;录</div>
      <div class="regindex-btn" @click="fn">免费注册</div>
    </div>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
  data() {
    return {
      showModel1:false,
      showCole:false
    }
  },
  props: { /**接收的属性 */
    },
  methods: {
    fn(){
      this.showModel1=true
    //  console.log('hhhhhhhhhhhhhh')
    },
    dengl(){
   this.showCole=true
    }
   
  }
  ,components:{
  },

})

</script>
<style lang="scss">
@font-face {
  font-family: 'iconfont';
  src: url('@/iconfont/iconfont.woff2?t=1663912146114') format('woff2'),
    url('@/iconfont/iconfont.woff?t=1663912146114') format('woff'),
    url('@/iconfont/iconfont.ttf?t=1663912146114') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 18px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>
<style lang="scss" scoped >
#loginWin {
  position: absolute;
  top: 52px;
  right: 256px;
  width: auto;
  height: auto;
  z-index: 9999;
  border: 1px solid #ccc;
  background-color: #fff;

  >.loginbox {
    width: 180px;
    height: auto;
    border: .5 solid #ccc;

    >div:not(:nth-child(3)) {
      width: 130px;
      height: 30px;
      margin-left: 25px;
      text-align: center;
      line-height: 30px;
      cursor: pointer;
    }

    >.loginindex {
      margin-top: 22px;
      margin-bottom: 15px;
      border: 1px solid #8c222c;
      color: #fff;
      border-radius: 3px;
      background-color: #8c222c;
      margin-bottom: 15px;
    }

    >.regindex-btn {
      margin-bottom: 16px;
      font-size: 12px;
      border-radius: 3px;
      border: 1px solid #d4c4b8;
      color: #8c222c;
      background-color: #f8f7f3;
    }

  }

}

.otherwqlist {
  margin-bottom: 15px;
  cursor: pointer;
  margin-left: 13px;
  width: 160px;
  display: flex;
  justify-content: space-around;

  .wxqqwo>div:nth-child(2) {
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
  }

  .wxqqwo>div:nth-child(1)>span {
    margin-left: 3px;
  }
}
</style>